﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Kkc.Model.Photo>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    <h2><%= Html.Encode(Model.Title) %></h2>
</asp:Content>

<asp:Content ID="HeadContent" runat="server" ContentPlaceHolderID="HeadContent">
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div class="photo-container align-left" style="width: 96%;">
        <div class="photo-content">
            <img width="100%" src="<%= Url.Action("Image", "Photo", new { id = Model.Id }) %>" alt="<%= Html.Encode(Model.Title) %>" />
        </div>
        <div class="photo-caption"><%= Html.Encode(Model.Title) %></div>
    </div>
    <p><%= Html.Encode(Model.Summary) %></p>
</asp:Content>

<asp:Content ContentPlaceHolderID="LeftSideContent" runat="server">
    <ul>
        <li class="first"><%=Html.ActionLink("Tilbake til galleriet", "Index") %></li>
    </ul>
</asp:Content>